package com.homegoods.classify.model;

import com.alibaba.fastjson.annotation.JSONField;
import com.homegoods.classify.item.GoodsItem;
import com.kedll.library.adapter.MultiTypeAdapter;
import com.kedll.library.mvp.BaseModel;

/**
 * 热门推销
 *
 * @author QiQi
 */
public class GoodsModel extends BaseModel<GoodsItem> {

    public String sid;
    /**
     * 商品图片
     */
    @JSONField(name = "img")
    public String avatar;
    /**
     * 商品名称
     */
    @JSONField(name = "title")
    public String title;

    @Override
    public GoodsItem createItem(MultiTypeAdapter adapter) {
        return new GoodsItem(this, adapter);
    }
}
